import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters.js'
import authorize from './modules/authorize.js'
import home from './modules/home.js'
import follow from './modules/follow.js'
import complaint from './modules/complaint.js'
import mine from './modules/mine.js'


Vue.use(Vuex)

const store = new Vuex.Store({
	modules: {
		authorize,
		home,
		follow,
		complaint,
		mine
	},
	getters,
})

export default store